package com.xydtech.ecard.config.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 电子名片新闻列对象 ecard_news_content_list
 *
 * @author JHON
 * @date 2022-04-11
 */
public class EcardNewsContentList extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /** ID */
    private Long id;

    /** 新闻编号 */
    @Excel(name = "新闻编号")
    private String newsId;
    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 标题图片 */
    @Excel(name = "标题图片")
    private String img;

    /** 频道编号 */
    @Excel(name = "频道编号")
    private String channelId;
    /** 频道名称 */
    @Excel(name = "频道名称")
    private String name;
    /** 来源 */
    @Excel(name = "来源")
    private String source;

    /** 链接 */
    @Excel(name = "链接")
    private String link;
    /** 概要 */
    @Excel(name = "概要")
    private String summary;
    /** 网页内容 */
    @Excel(name = "网页内容")
    private String html;

    /** 发布时间 */
    @Excel(name = "发布时间")
    private String pubDate;

    /** 首页显示            T-是            F-否 */
    @Excel(name = "首页显示            T-是            F-否")
    private String indexSts;

    /** 热点新闻            T-是            F-否 */
    @Excel(name = "热点新闻            T-是            F-否")
    private String hotSts;

    /** 状态            0-停用            1-启用 */
    @Excel(name = "状态            0-停用            1-启用")
    private String sts;

    /** 法人机构 */
    private Long deptId;

    /**
     * 查询的最大条数
     */
    private Integer limitNums;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNewsId() {
        return newsId;
    }

    public void setNewsId(String newsId) {
        this.newsId = newsId;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getChannelId() {
        return channelId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getSource() {
        return source;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getLink() {
        return link;
    }

    public void setHtml(String html) {
        this.html = html;
    }

    public String getHtml() {
        return html;
    }

    public void setPubDate(String pubDate) {
        this.pubDate = pubDate;
    }

    public String getPubDate() {
        return pubDate;
    }

    public void setSts(String sts) {
        this.sts = sts;
    }

    public String getSts() {
        return sts;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public String getImg() {
        return img;
    }

    public String getIndexSts() {
        return indexSts;
    }

    public void setIndexSts(String indexSts) {
        this.indexSts = indexSts;
    }

    public String getHotSts() {
        return hotSts;
    }

    public void setHotSts(String hotSts) {
        this.hotSts = hotSts;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public Integer getLimitNums() {
        return limitNums;
    }

    public void setLimitNums(Integer limitNums) {
        this.limitNums = limitNums;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("newsId", getNewsId())
                .append("title", getTitle())
                .append("channelId", getChannelId())
                .append("name", getName())
                .append("source", getSource())
                .append("link", getLink())
                .append("summary", getSummary())
                .append("html", getHtml())
                .append("pubDate", getPubDate())
                .append("sts", getSts())
                .append("deptId", getDeptId())
                .append("img", getImg())
                .append("indexSts", getIndexSts())
                .append("hotSts", getHotSts())
                .append("limitNums", getLimitNums())
                .toString();
    }
}
